package com.rjwh.dingdong.client.mvp.view;

import android.support.annotation.Nullable;

import com.rjwh.dingdong.client.bean.localbean.RadioAnchorInfo;
import com.rjwh.dingdong.client.bean.localbean.Song;
import com.rjwh.dingdong.client.mvp.MvpView;
import com.rjwh.dingdong.client.player.PlayMode;
import com.rjwh.dingdong.client.player.PlayState;
import com.rjwh.dingdong.client.service.PlaybackService;

import java.util.List;

/**
 * @author Kay
 * @ClassName RadioAlbumProgramView
 * @Description
 * @date 2016-10-27
 * @history 2016-10-27 author: description:
 */

public interface RadioAlbumProgramView extends MvpView{
    void showLoadingView();
    void hideLoadingView();
    void showErrorView();
    void hideErrorView();

    void loadData(RadioAnchorInfo basicinfo, List<Song> programlist);


    //绑定Service
    void onPlaybackServiceBound(PlaybackService service);

    //接触绑定Service
    void onPlaybackServiceUnbound();

    //更新界面信息
    void onSongUpdated(@Nullable Song song);

    //更新播放状态
    void updatePlayToggle(PlayState play);

}
